package com.lkm.market2_0.m_imple.steelyardserver.server.cmd_handle;

import android.os.Handler;
import android.os.Looper;

import com.lkm.market2_0.ExpandConfig;
import com.lkm.market2_0.m.steelyardserver.OnSteelyardKeyEvent;
import com.lkm.market2_0.m_imple.steelyardserver.server.AbsReceiverDataHandle;
import com.lkm.market2_0.m_imple.steelyardserver.server.CMDEntity;
import com.lkm.market2_0.m_imple.steelyardserver.server.ICMDHandle;



public class CMDClearAndColseBtnHandle implements ICMDHandle {

    Handler handler = null;

    public CMDClearAndColseBtnHandle() {
        handler = new Handler(Looper.getMainLooper());
    }

    @Override
    public AbsReceiverDataHandle handle(CMDEntity cmdEntity) {

        if(ExpandConfig.instance.isUI()){
            OnSteelyardKeyEvent.sendKey(OnSteelyardKeyEvent.KEYCODE_ClearAndColse, handler);
        }

        return null;
    }




}
